package com.example.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 城市表 实体类。
 *
 * @author Administrator
 * @since 2023-10-12
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "城市表")
@Table(value = "city")
public class City implements Serializable {

    @Id
    @Schema(description = "")
    private String id;

    /**
     * 城市名称
     */
    @Schema(description = "城市名称")
    private String name;

    /**
     * 省份id
     */
    @Schema(description = "省份id")
    private String pid;

}
